<template>
	<view class="content">
		<image class="tui-logo" src="/static/logo.png"></image>
		<view class="tui-btn__box">
			<tui-button @click="onClick">{{title}}</tui-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello ThorUI !'
			}
		},
		onLoad() {

		},
		methods: {
			onClick() {
				this.tui.toast('欢迎使用ThorUI！')
			}

		}
	}
</script>

<style>
	.tui-logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
		display: block;
	}

	.tui-btn__box {
		width: 100%;
		padding: 30rpx;
		box-sizing: border-box;
	}
</style>
